Skip to content

Instantly share code, notes, and snippets.

@xikhar
xikhar / metroidvania-prompt.md
Created December 1, 2026 22:06
metroidvania-prompt

Build a high quality complete pixel style metroidvania game in the browser.

Platform and constraints: It should run in the browser. Graphics drawn using webgl. Gameplay engine built on top of webgl as well, no external libraries. you need to invent all the code to make and run the game great.

First part: Research. It needs to be a Metroidvania, so research on how they look like and what are the gameplay mechanisms, camera movements, world design, Techniques to build it. Webgl things to understand. study the existing games for some references. Read ENGINE section below for what more to research on that.

Second part: reference & Design. Use PIXELGAME.jpg in main-ref folder as the source of truth. Use available models on FAL MCP to generate more reference images as you need, or any video that you need. The first part of the process is to explore reference ideas and have a concrete plan of what to build, along with what it should look like. And the entire theme should be consistent across the game. generate mo

@not-that-necrohardware
not-that-necrohardware / README.md
Last active December 3, 2026 04:13
pliant-recover: recover Pliant/SanDisk Lightning SAS SSDs (LB1606R etc.) stuck in 'Medium format corrupted' - vendor unlock + format, link check, event journal decoder

Recovering Pliant / SanDisk Lightning SAS SSDs stuck in "Medium format corrupted"

SanDisk (formerly Pliant) Lightning 6 Gb/s SAS SSDs (LB206M/406M/806M, LB206S/406S, LB406R/806R/LB1606R) are common in Dell and EqualLogic systems. They can drop into a state where every command fails with:

Sense key: Medium Error / Not Ready
Additional sense: Medium format corrupted          (ASC/ASCQ 31/00)
Descriptor type: Vendor specific [0x91] 99 1c (or 9c 1c)
@rtpg
rtpg / simple_form.py
Last active December 3, 2026 04:10
Type Checking Forms Without Pydantics API
from typing import overload, Self, Any
class IntField:
def __set_name__(self, owner, name):
self._name = name
@overload
def __get__(self, obj: None, owner: type[Any] | None = None) -> Self: ...
@overload
def __get__(self, obj: object, owner: type[Any] | None = None) -> int: ...
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -PredictionViewStyle ListView
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
T3ZWQ-P2738-3FJWS-YE7HT-6NA3K
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
65Z2L-P36BY-YWJYC-TMJZL-YDZ2S
SFZHH-2Y246-Z483L-EU92B-LNYUA
GSZVS-5W4WA-T9F2E-L3XUX-68473
FTZ8A-R3CP8-AVHYW-KKRMQ-SYDLS
Q3ZWN-QWLZG-32G22-SCJXZ-9B5S4
DAZPH-G39D3-R4QY7-9PVAY-VQ6BU
KLZ5G-X37YY-65ZYN-EUSV7-WPPBS
@k16shikano
k16shikano / SKILL.md
Last active December 3, 2026 04:00
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063)

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

@ossa-ma
ossa-ma / SKILL.md
Last active December 3, 2026 03:59
the writing whip: a Claude Code skill that bans AI writing tropes and response behaviours (tropes.fyi)

name: writing-whip description: >- Kill all AI writing tropes and behaviours at the source: generation. Focus on quelling behaviour-driven triggers. Load before writing, especially for anything longer than a paragraph and re-check output against it, extremely important for communications, documentation, outbound, client-facing copy and for your own replies to the user. metadata: category: writing author: Ossama Chaib

ls - The most frequently used command in Linux to list directories
pwd - Print working directory command in Linux
cd - Linux command to navigate through directories
mkdir - Command used to create directories in Linux
mv - Move or rename files in Linux
cp - Similar usage as mv but for copying files in Linux
rm - Delete files or directories
touch - Create blank/empty files
ln - Create symbolic links (shortcuts) to other files
cat - Display file contents on the terminal